package xcu.lxj.nettychat.chat.domain.vo.request;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import xcu.lxj.nettychat.common.domain.vo.request.CursorPageBaseReq;


@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ChatMessageReadReq extends CursorPageBaseReq {

    @Schema(description = "消息id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull
    private Long msgId;


    @Schema(description = "查询类型 1已读 2未读", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull
    private Long searchType;
}

